<div class="container-fluid p-t-15">
    <div class="row">
        <div class="col-lg-12">
          <div class="card">
              <div class="card-body"> 
                    <h4 class="header-title">插件合集下载</h4>
                    <p class="text-muted font-14 mb-4">
                        这里的插件下载都可以直接使用，各类插件都会在这里边
                    </p>
                    <div class="form-group mb-2">    
                        <div class="text-right">
                           <button type="submit"  class="btn btn-success mb-2 mr-2"><i class="mdi mdi-bolnisi-cross"></i> 共有 <?php echo $inviteCount ?> 个插件</button> 
                         </div>
                    </div>
                    <div class="table-responsive">
                        <table class="table table-bordered">
                            <thead>
                                <tr>
                                   <th>插件名称</th>
                                    <th>插件介绍</th>
                                    <th>更新时间</th>
                                    <th>插件下载</th> 
                                </tr>
                            </thead>
                            <tbody>
                                <?php 
                                
                                foreach ($result as $res){
                                    $rowData = [
                                        ['label'=>$res['name']],
                                        ['label'=>$res['readme']],
                                        ['label'=>$res['addtime']],
                                        ['label'=>'<a href="' . $res['url'] . '" target="_blank" class="btn btn-success"><i class="mdi mdi-download"></i>立即下载</a>'],
                                        ];
                                    $html .= Splicing_form($rowData);   
                                }
                                echo $html;
                                table_page($page,$pages,'Plugin')
                                ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>